
import fm

print "= 00 ==\n"
fm.pp_levenstein('kitten', 'sitting')

print "= 01 ==\n"
fm.pp_levenstein("    1 Brantwood, BEAMINSTER, DORSET, DT8 3SS",
                 "THE BEECHES 1, BRANTWOOD, BEAMINSTER, DORSET DT8 3SS")

print "= 02 ==\n"
fm.pp_levenstein("Flat 2, Bethany House, Broadwindsor Road, BEAMINSTER, DORSET, DT8 3PP",
                 "2, BETHANY HOUSE, BEAMINSTER, DORSET DT8 3PP")

print "= 03 ==\n"
fm.pp_levenstein("Penthouse,Old Vicarage, 1 Clay Lane, BEAMINSTER, DORSET, DT8 3BU",
                 "PENTHOUSE FLAT THE OLD VICARAGE 1, CLAY LANE, BEAMINSTER, DORSET DT8 3BU")

print "= 04 ==\n"
fm.pp_levenstein("St John's Presbytery, Shortmoor, BEAMINSTER, DORSET, DT8 3EL",
                 "THE PRESBYTERY, SHORTMOOR, BEAMINSTER, DORSET DT8 3EL")

print "= 05 ==\n"
fm.pp_levenstein("The Pinnacles, White *** Hill, BEAMINSTER, DORSET, DT8 3SF",
                 "PINNACLES, WHITE*** HILL, BEAMINSTER, DORSET DT8 3SF ")

print "= 06 ==\n"
fm.pp_levenstein("Umelecka 618/7, Praha 8",
                 "Praha 8, Umelecka 618/7")
